package com.kordar.admin.modular.sys.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.kordar.admin.kernel.annotation.DbUniqueExists;
import com.kordar.admin.modular.sys.entity.TenantEntity;

public interface TenantService extends IService<TenantEntity>, DbUniqueExists {
    TenantEntity findOneByCode(String code);
    boolean initSystem(TenantEntity entity);
    boolean destroySystem(TenantEntity entity);
    boolean updateTenant(String  code, int status);
}
